package com.mingqijia.gassafety.statistics.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @author guoliang.lao
 * @version 1.0.0
 * @ClassName LatestLogListRequest.java
 * @Description 实时状态列表返回
 * @createTime 2022年02月21日
 */
@Data
@ApiModel("报警器+智慧厨房前5条告警数据")
public class PlatformAlarmDataResp {

    @ApiModelProperty(value = "设备号")
    private String imei;

    @ApiModelProperty(value = "区域")
    private Integer regionId;

    @ApiModelProperty(value = "区域名称")
    private String regionName;

    @ApiModelProperty(value = "用户类型")
    private Integer myType;

    @ApiModelProperty(value = "用户类型名称")
    private String myName;

    @ApiModelProperty(value = "报警类型")
    private String alarmType;

    @ApiModelProperty(value = "处理状态")
    private String disposeStatus;

    @ApiModelProperty(value = "处理及时率")
    private String disposeRatio;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy.MM.dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "spId")
    private String spId;

    @ApiModelProperty(value = "企业名称")
    private String spName;

    @ApiModelProperty(value = "经度")
    private BigDecimal lon;

    @ApiModelProperty(value = "维度")
    private BigDecimal lat;

    @ApiModelProperty(value = "处理时间")
    @JsonFormat(pattern = "yyyy.MM.dd HH:mm:ss", timezone = "GMT+8")
    private Date appealTime;

}
